package com.ysq.draw;

import javax.swing.JFrame;

public class DrawCircle extends JFrame {

    Mypanel mypanel = null;
    public static void main(String[] args) {
        new DrawCircle();
    }

    public DrawCircle(){
        mypanel = new Mypanel();
        this.add(mypanel);
        this.setSize(400, 400);
        this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        this.setVisible(true);
        this.addKeyListener(mypanel);
    }


}
